package com.study_platform.service;

import com.alibaba.fastjson.JSONObject;
import com.study_platform.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.study_platform.util.VO.LoginInfo;
import com.study_platform.util.VO.RegisterInfoVO;
import com.study_platform.util.VO.UpdateInfo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author auto
 * @since 2023-04-11
 */
public interface UserService extends IService<User> {
    public JSONObject getInfo();
    public JSONObject register(RegisterInfoVO registerInfo);
    public JSONObject login(LoginInfo loginInfo);

    JSONObject updateInfo(UpdateInfo updateInfo);
}
